package net.wofly.right.domain;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 权限配置
 *
 * @author lign
 * @version 1.0
 * @created 22-9月-2017 19:35:49
 */
@Data
@Entity
@Table(name = "sale_right_rightconfig")
@ApiModel(description = "权限配置")
public class RightConfig {
    
    @Id
    private String rightConfigID;

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID", required = true)
    private String roleID;
    
    /**
     * 功能ID
     */
    @ApiModelProperty(value = "功能ID", required = true)
    private String funcListID;
    
    @ApiModelProperty(value = "功能类型(1:接口;2:路由;3:菜单)", required = true)
    private Integer funcType;
   
    /**
     * 权限状态  1：有此权限 0：无此权限
     */
    @ApiModelProperty(value = "权限状态  1：有此权限 0：无此权限", required = true)
    private Integer rightStatus = 0;
    
    private Long modifyDate;
    
    public RightConfig() {
        
    }
}